package com.projecy.config.security;


import com.projecy.system.model.dto.UserDto;
import lombok.Data;

// 地址： https://blog.csdn.net/qiaotl/article/details/126472226
@Data
public class JwtUser {

    private UserDto userDto;

    private String token;


    public JwtUser(String token, UserDto userDto){//自定义登录后返回的用户对象
        System.out.println("-----------JwtUser");
        this.token = token;
        this.userDto = userDto;
    }
}
